home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Info 1994 March
/
Internet Info CD-ROM (Walnut Creek) (March 1994).iso
/
networking
/
ip
/
ka9q
/
MNetsrc.hqx
/
Mac TCP_IP Source v.33
/
routing.h
< prev
next >
Wrap
Text File
|
1989-03-16
|
886b
|
35 lines
/* Header file for IP routing - Copyright 1989 - Stuart G Phillips, N6TTO */
/* Size of IS_ES hash table */
#define IS_ESSIZE 17
/* Lifetime of a IS_ES entry */
#define IS_ESLIFE 920 /* ARPLIFE+PENDTIME+5 */
/* Format of IS_ES table */
struct is_es_tab {
struct is_es_tab *next; /* Doubly-linked list pointers */
struct is_es_tab *prev;
int32 ipaddr; /* Address to be proxied */
int32 to_whom; /* Respond only to whom ! */
int16 hardware; /* Hardware type to be responded */
struct timer timer; /* Time to expire entry */
};
struct is_es_tab *is_es_lookup(), *is_es_add();
#define NULLIS_ES (struct is_es_tab *)0
extern struct is_es_tab *is_es_tab[];
struct is_es_stat {
unsigned sent; /* Total number of is_ess sent */
};
extern struct is_es_stat is_es_stat;
struct routing_inuse {
int is_es;
};
extern struct routing_inuse routing_inuse;